package cn.edu.xmut.fourth;

public class American implements  IPerson{
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public void sayHello() {
        System.out.println("Hello,i am american!My name is:"+name);
    }
}
